package com.atguigu.gmall.product.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName BaseCategory01
 * @Description TODO
 * @Author king
 * @Date 2022/10/31 18:24
 * @Version 1.0
 */
@Data
@TableName("base_category1")
public class BaseCategory1 {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;
}
